package org.xteam.engine.object;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import org.xteam.engine.geom.Point2D;

public class Polygon {

	private List<Point2D> points = new ArrayList<Point2D>();

	public Polygon(Point2D... points) {
		Collections.addAll(this.points, points);
	}

	public List<Point2D> getPoints() {
		return points;
	}
}
